
static const char pyRandom_Seed_doc[]=
"Random_Seed(seed=0) -> None\n"
"Sets random number generator's seed.";
static PyObject*
pyRandom_Seed(PyObject *self,PyObject *args)
{
	CHECK_HGE;
	int seed = 0;
	if (!PyArg_ParseTuple(args,"|i:Random_Seed",&seed))
		return 0;
	hge->Random_Seed(seed);
	Py_RETURN_NONE;
}

static const char pyRandom_Int_doc[]=
"Random_Int(min,max) -> int\n"
"Generates int random number.";
static PyObject*
pyRandom_Int(PyObject *self,PyObject *args)
{
	CHECK_HGE;
	int a,b;
	if (!PyArg_ParseTuple(args,"ii:Random_Int",&a,&b))
		return 0;
	return PyInt_FromLong(hge->Random_Int(a,b));
}

static const char pyRandom_Float_doc[]=
"Random_float(min,max) -> float\n"
"Generates float random number.";
static PyObject*
pyRandom_Float(PyObject *self,PyObject *args)
{
	CHECK_HGE;
	float a,b;
	if (!PyArg_ParseTuple(args,"ff:Random_Int",&a,&b))
		return 0;
	return PyFloat_FromDouble((double)hge->Random_Float(a,b));
}
